#ifndef EXPENSE_H
#define EXPENSE_H

#include"mainwindow.h"
#include"newexpense.h"
#include"expview.h"
#include"catselect.h"
#include"reports.h"
#include<db_class.h>
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class expense;
}

class expense : public QMainWindow
{
    Q_OBJECT

public:
    explicit expense(QWidget *parent = 0);
    ~expense();


private:
    Ui::expense *ui;
    QListWidgetItem *item1;
    QListWidgetItem *item2;
    QListWidgetItem *item3;
    QListWidgetItem *item4;
    db_class db;


public slots:
    void back();



private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
};

#endif // EXPENSE_H




